import { http } from '@/utils/http'
//与分论table列表接口
export function searchlist(data) {
  return http({
    url: "/api/work-orders/in-production?sort=createTime,desc",
    method: "get",
    data
  });
}

export function totalFnRounds(id,totalRounds) {
  return http({
    url: `/api/work-orders/${id}/total-rounds?totalRounds=${totalRounds}`,
    method: "post",
  });
}